﻿using System;
using System.Collections.Generic;

namespace SportMeetingPlanner.Models
{
    public interface IUserRepository : IDisposable
    {
        void CreateUser(User userToCreate);
        void DeleteUser(string userName);
        User GetUserByUserName(string userName);
        IEnumerable<User> GetAllUsers();
        IEnumerable<User> GetAllUsersOrdered();
        int SaveChanges();
        void ModifyUser(User userToModify);
    }
}
